package com.terrier.ui.controls
{
    import com.terrier.ui.core.IWxDataRenderer;

    /**
     * 列表组件渲染器工厂 接口
     * @author Jarvis.weng
     */
    public interface IWxListRendererFactory
    {
        function get dataLength():int;

        function set dataLength(value:int):void;

        function get rendererClass():Class;

        function set rendererClass(value:Class):void;

        function createRenderer(index:int, data:Object):IWxDataRenderer;

        function disposeRenderer(renderer:IWxDataRenderer):void;

        function get onFactoryChange():Function;

        function set onFactoryChange(value:Function):void;
    }
}
